/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.dusin.util;

/**
 *
 * @author dusin
 */
public class StringUtil {
    public static String getFixedWidth(int number, int width) {
        String format = "%0" + width + "d";
        String s = String.format(format, number);
        return s;
    }
}
